home *** CD-ROM | disk | FTP | other *** search
/ Ham Exams / Ham Exams.iso / HAMEXAMS / MORSE / CWTSR / VHFCW.DOC < prev    next >
Encoding:
Text File  |  1996-03-13  |  7.8 KB  |  262 lines

  1. *******************************************************************
  2. Computer can now play role of CW keyer. All you need is paddle and
  3. simple CW interface connected to your serial port.
  4. ...................................................................
  5.  
  6. This CW TSR utility has been primarily written for my friend s53ww - Robi
  7. who wrote the VHFCTEST program, which is very popular in our region. You can
  8. download the latest version of the VHFCW and VHFCTEST from the
  9. ftp server:
  10.  
  11. ftp.hamradio.si
  12.  
  13. There are two basic programs for CW-TSR :
  14.  
  15. CW TSR utility VHFCW.EXE
  16. CW TSR monitor : CWMONI.EXE
  17.  
  18. The VHFCW remains active in your computer.
  19. Syntax:
  20. VHFCW X {M} {P} {S} {I}
  21.  
  22.     X=COM (1,2) must be defined
  23.     M=Monitor (0,1)
  24.     P=Paddle interface connected (0,1)
  25.     S=Squeeze (0,1);
  26.     I=Soft. Interrupt no. ($60-$FF), default $60
  27.  
  28. The CWMONI is a simple monitoring program which enables you to
  29. test the TSR utility and change different settings.
  30. Syntax:
  31. CWMONI {I}
  32.    I=software interrupt nr., $60 by default
  33.  
  34.  
  35. If CONFIG.SYS includes many device drivers then there is possibility that
  36. computer hangs (immediately after running VHFCW or even during contest work).
  37. The only solution is to clean up CONFIG.SYS and maybe also AUTOEXEC.BAT.
  38.  
  39.  
  40. Interface:
  41. ____________
  42.  
  43.  
  44.    2/DB25 (3/DB9)        I\  I
  45.               o----------I  \I-------o ------I
  46.                          I / I       I       I
  47.                                      I   +   I
  48.                                   =======    I
  49.                                 \_________/  I   tantal 10 uf/16 V
  50.                                      I       I
  51.    7/DB25 (5/DB9)                    I   -   I
  52.               o----------------------I       I
  53.        paddle - center                       I
  54.                                              I
  55.                        1 k 5                 I
  56.    6/DB25 (6/DB9)     ______                 I
  57.               o------I______I----------------o
  58.        paddle - dit                          I
  59.                                              I
  60.                                              I
  61.                        1 k 5                 I
  62.    8/DB25 (1/DB9)     ______                 I
  63.               o------I______I----------------I
  64.         paddle - dash
  65.  
  66.  
  67.                      1k               opto coupler 4N..
  68.    20/DB25 (4/DB9) ______
  69.               o---I______I------
  70.                                I
  71.                                I          ___________o
  72.                              __I__   II  /
  73.                              \   /   II/               CW TX key
  74.                              __Y__   II\
  75.    7/DB25 (5/DB9)              I     II  \>----------o
  76.              o_________________I
  77.  
  78.  
  79.                      1k               opto coupler 4N..
  80.    4/DB25 (7/DB9)  ______
  81.               o---I______I------
  82.                                I
  83.                                I          ___________o
  84.                              __I__   II  /
  85.                              \   /   II/                PTT line
  86.                              __Y__   II\
  87.    7/DB25 (5/DB9)              I     II  \>----------o
  88.              o_________________I
  89.  
  90.  
  91. You can also use transistors instead of opto-isolators,
  92. but this is better approach...
  93. Paddle should be connected in parallel to connector contacts (7 for center
  94. contact, 6 for dots and 8 for dashes). Complete circuit can be easily built
  95. into plastic body of DB25 connector and with little effort also into DB9.
  96.  
  97.  
  98.  
  99. (-----------------------------------------------------------)
  100.  
  101. Information for programmers
  102.  
  103. (-----------------------------------------------------------)
  104.  
  105. Communication with VHFCW
  106.  
  107. To communicate with vhfcw tsr the software interrupt $60 is used by
  108. default. You can change it with different options in command
  109. line when running VHFCW.
  110.  
  111.  
  112. !!! The AH register should always be $30 for identification. !!!
  113.  
  114. function        AL reg      BX reg        CX reg      comment
  115.  
  116. CW SPEED          1           X (Ch/min, 15..260)
  117. PTT ON-OFF        2
  118. QRQ               3
  119. QRS               4
  120. Send text         5           Seg(string) Offs(string)
  121. PTT DELAY         6           X [mS]
  122. DITX              7           X [ dash/dot  *10 ]     default  30
  123. PCHX              8           X [ dot /pause*10 ]     default  10
  124. PICX              9           X [ dot /ch.pause  *10] default  30
  125. VOXDELAY         10           X [mS]
  126. MEMKEYER         11           X [1,0]                 squeeze on/off
  127. CWMONITOR        12           X [1,0]                 cwmonitor on/off
  128. PADDLE           13           X [1,0]                 paddle iface connected
  129. ACTIVE MSG.      14                                   Writes 'ACTIVE' msg.
  130. INTERR. ON       15                                   Activate TSR
  131. INTERR. OFF      16                                   Deactivate TSR
  132. TONE             17           X [50-2000]             Monitor Fq
  133.  
  134.  
  135. additional programs
  136.  
  137. cwkey.exe - simple program to control TSR
  138.  
  139. Note:
  140. Usually, when you run VHFCW you get a message
  141. Soft. interrupt OK ...
  142. If you get message software interrupt in use, that means that interrupt
  143. $60 is already in use by other programs. In general this should
  144. not cause any problems, but in case it does, you better change this
  145. value to an unused SW interrupt. (commands sysinfo or similar utility..)
  146.  
  147.  
  148.  
  149. Description of commands
  150. ------------------------
  151.  
  152. CW SPEED   (Ch/min, 15..260)
  153. AL=1, BX=x
  154. x=speed in characters/min (approximation)
  155.  
  156. PTT ON-OFF
  157. AL=2  Toggle PTT pin on/off
  158. If the computer transmits any text or is in repeat mode (@X) command,
  159. this mode will be interrupted.
  160.  
  161. QRQ
  162. AL=3
  163. Increase CW speed
  164.  
  165. QRS
  166. AL=4
  167. Decrease CW speed
  168.  
  169. Send text
  170. AL=5
  171. BX=Seg(string)
  172. CX=Offs(string)
  173.  
  174. Transmit text, address of text is passed with BX and CX registers.
  175. The variable should be of type string. Before text is transmitted,
  176. the ptt goes high, waits pttdelay, then transmission is started.
  177. The repeat command is also available, you can put @X command
  178. at the end of the text, that means that the text should be repeated
  179. every X seconds. You can stop transmitting text with PTT function
  180. or if there is a paddle connected, then touching
  181. the paddle will stop text transmission and keying will be proceeded
  182. as in manual keying mode.
  183.  
  184. example: CQ CQ DE S57RA @5
  185. (this text will be transmitted with 5 second breaks)
  186.  
  187. PTT DELAY
  188. AL=6
  189. BX=x [mS]
  190. Definition of PTT DELAY - time to wait after PTT goes HIGH to start CW
  191. signal (to save some money on preamplifier's FETs or GaAs-fets).
  192.  
  193. DITX
  194. AL=7
  195. BX=x
  196. x = dash/dot ratio * 10, default  30. Some contesters prefer higher
  197. dash/dot ratio than 3, usually 3.2 or 3.4.
  198.  
  199. PCHX
  200. AL=8
  201. BX=x
  202. x= dot /pause ratio *10, default  10
  203. Pause in character ratio.
  204.  
  205. PICX
  206. AL=9
  207. BX=x
  208. x= dot /ch.pause ratio *10, default  30
  209. Pause between two characters.
  210.  
  211. VOXDELAY
  212. AL=10
  213. BX=X [mS]
  214. This parameter defines how many mS the PTT signal remains HIGH and waits
  215. for the next character - in manual transmit mode only.
  216.  
  217. MEMKEYER
  218. AL=11
  219. BX=x
  220. x=[1,0] squeeze (iambic keying) on/off
  221.  
  222. CWMONITOR
  223. AL=12
  224. BX=x
  225. x=[1,0] PC speaker monitor on/off
  226.  
  227. PADDLE
  228. AL=13
  229. BX=x
  230. x=[1,0] paddle interface connected. If this parameter is set and you
  231. don't have the interface connected, then you get something like
  232. endless -.-.-.-.-.-.-. etc...
  233.  
  234. ACTIVE MSG.
  235. AL=14
  236. The tsr writes 'ACTIVE' msg. and is for testing only.
  237.  
  238. INTERRUPTS ON
  239. AL=15
  240. Activate com port interrupts (if they have been stopped with
  241. function 16)
  242.  
  243. INTERRUPTS OFF
  244. AL=16
  245. Deactivate TSR by stopping comm port interrupts. The program is
  246. still resident in memory and can be reactivated with function 15.
  247.  
  248. TONE
  249. AL=17
  250. BX=x
  251. x=[50-2000] Monitor Fq in Hertz, default 500.
  252.  
  253.  
  254. Any questions or suggestions are welcome to my PR or EMAIL address.
  255.  
  256.                                                    73 & GL Pavle,
  257.  
  258.  
  259. S57RA @ S50BOX.SVN.EU
  260. pavel.reberc@guest.arnes.si
  261.  
  262.